<?php

namespace Database\Factories;

use App\Models\WechatReply;
use Illuminate\Database\Eloquent\Factories\Factory;

class WechatReplyFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = WechatReply::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'type' => $this->faker->randomElement(
                [
                    'app',
                    'applet',
                    ' publicCode'
                ]
            ),
            'content' => $this->faker->text(40),
            'status' => $this->faker->randomElement([0, 1]),
            'hide' => $this->faker->randomElement([0, 1]),
        ];
    }
}
